import global from './config/global'

cc.Class({
    extends: cc.Component,

    properties: {
       
    },

    
    // onLoad () {},

    start () {

    },

    onButtonClick(event,customDate){
        //global._socket.requestwxlogin();
        switch(customDate){
            case 'wx_login':
                console.log('wx_login');
                global._socket.sendmessage();  
                break;
            default:
                break;
        }
    }

    // update (dt) {},
});
